import helloWebpack from "./helloWebpack";
import imgSrc from './assets/logo.png';
import usernameSvg from './assets/username.svg';
import exampleTxt from './assets/example.txt';
import jpgMap from './assets/img2.jpg';

helloWebpack();

const img = document.createElement('img');
img.src = imgSrc;
document.body.appendChild(img);

const img2 = document.createElement('img');
img2.style.cssText = 'width:600px;height:200px;';
img2.src = usernameSvg;
document.body.appendChild(img2);

const block = document.createElement('div');
block.style.cssText = 'width:200px;height:200px;background: aliceblue;';
block.textContent = exampleTxt;
document.body.appendChild(block);

const img3 = document.createElement('img');
img3.style.cssText = 'width:600px;height:240px;display:block;';
img3.src = jpgMap;
document.body.appendChild(img3);